<div class="main edit-info-jiuzheng safe-detail">
  <div class="main-header">
    <div class="pa-icon-div pull-left fs-14">
      <i class="iconfont icon-shouye fs-14 icon-vertical-top"></i>
      <span class="fs-vertical-middle">工作台>安全活动>
      <span class="fs-theme-color">安全技术交底</span>
      </span>
    </div>
    <go-back></go-back>
  </div>
  <div class="main-content">
    <div class="container-header fs-16">
      <span>安全技术交底</span>
    </div>
    <div class="content-item">
      <div class="content-item-header fs-14">
        <label>基本信息</label>
      </div>
      <form class="content-item-content fs-0">
        <div>
          <div class="pa-form-control">
            <label class="text-right width175 fs-theme-color"><b>*</b>交底工序或工程名称：</label>
            <input type="text" class="form-control-input" ng-model="vm.data.activity.name">
          </div>
          <div class="pa-form-control">
            <label class="text-right width175 fs-theme-color">交底类型：</label>
            <select class="form-control-input" ng-model="vm.data.activity.technicalType">
              <option value="">请选择</option>
              <option value="1">项目部级</option>
              <option value="2">班组级</option>
              <option value="3">工种级</option>
            </select>
          </div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">交底时间：</label>
          <input type="text" class="form-control-input  date-picker"
          data-ng-datepicker
          ng-model="vm.data.activity.startTime">
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">交底人：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.speaker">
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">交底地点：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.site">
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">记录人：</label>
          <input type="text" class="form-control-input" ng-model="vm.data.activity.recorder">
        </div>
        <div class="pa-form-control pa-width-100">
          <label class="text-right width175 fs-theme-color">交底主要内容：</label>
          <label style="width:auto;padding-right: 5px;color:black">内容编辑</label>
          <input class="radio-radius" type="radio" name="pa-radio" value="1" ng-model="vm.data.isEdit">
          <label style="width:auto;padding-right: 5px;color:black">见附件</label>
          <input class="radio-radius" type="radio" name="pa-radio" value="0" ng-checked="true" ng-model="vm.data.isEdit">
        </div>
        <div class="pa-form-control pa-width-100" ng-show="vm.data.isEdit == 1" style="box-sizing: border-box;padding-left: 185px;">
          <textarea class="context-textarea" ng-model="vm.data.activity.content"></textarea>
        </div>
      </form>
    </div>
    <div class="content-item">
      <div class="content-item-header">
        <label>附件信息</label>
        <div class="pa-operate"
          attachment-uploader
          ng-model="vm.view.files"
          data-target=".file-list"
          data-url="/api/v1/common/uploadFile?folderName=safeActivity">
          <i class="iconfont icon-add fs-14"></i>
          <span for="file">新增</span>
        </div>
      </div>
      <div class="content-item-content file-list"></div>
    </div>
    <div class="pa-btn-area">
      <button class="pa-btn pa-btn-longer" type="button" ng-click="vm.submitActivityForm()">保存</button>
      <button class="pa-btn pa-btn-longer reset-btn" type="button" ui-sref="toDoSafeActivities">取消</button>
    </div>
  </div>
</div>
